const Sequelize = require('sequelize');
module.exports = function(sequelize, Sequelize) {
    return sequelize.define('lucks',{
        luckName: {
            type: Sequelize.STRING(256),
            allowNull: false,
            comment: "彩头名"
        },
        classify: {
            type: Sequelize.STRING(256), 
            allowNull: false,
            comment: "彩头分类"
        },
        imageAddress: {
            type: Sequelize.STRING(256),
            allowNull: false,
            comment: "彩头图片地址"
        },
        barName: {
            type: Sequelize.STRING(256),
            allowNull: false,
            comment: "酒吧名"
        }
    });

};